home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2207 / 2207.xpi / chrome / cooliris.jar / content / cooliris / coolirisOverlay.xul < prev    next >
Extensible Markup Language  |  2010-01-27  |  7KB  |  134 lines

  1. <?xml version="1.0"?>
  2. <!DOCTYPE window SYSTEM "chrome://cooliris/locale/cooliris.dtd">
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://cooliris/skin/cooliris.css" type="text/css"?>
  6. <?xml-stylesheet href="chrome://cooliris/skin/workaroundForBug427181.css" type="text/css"?>
  7.  
  8. <overlay id="coolirisOverlay"
  9.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  10.     xmlns:html="http://www.w3.org/1999/xhtml">
  11.     
  12.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisSiteManager.js"/>
  13.     <script type="application/x-javascript" src="chrome://cooliris/content/utils.js"/>
  14.     <script type="application/x-javascript" src="chrome://cooliris/content/xmlhttpNew.js"/>
  15.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisStats.js"/>
  16.     
  17.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisOverlay.js"/>
  18.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisPagePreviews.js"/>
  19.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisImagePreviews.js"/>
  20.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisNodeType.js"/>
  21.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisFramePanel.js"/>
  22.     <script type="application/x-javascript" src="chrome://cooliris/content/webcontrol.js"/>
  23.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisStackHandler.js"/>
  24.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisHighlightManager.js"/>
  25.     <script type="application/x-javascript" src="chrome://cooliris/content/coolirisSearchBar.js"/>
  26.     
  27.     <!--<menupopup id="viewSidebarMenu">
  28.         <menuitem key="key_openEmptySidebar" observes="viewCoolPreviewsSidebar"/>
  29.     </menupopup> -->
  30.    
  31.     <keyset id="mainKeyset">
  32.         <!--<key id="key_openEmptySidebar" command="viewCoolPreviewsSidebar" key="C" modifiers="shift accel"/>-->
  33.         <key id="key_increase" key="+" modifiers="accel shift"/>
  34.         <key id="key_decrease" key="-" modifiers="accel shift"/>
  35.         <key id="key_reset" key="9" modifiers="accel shift"/>
  36.         <key id="key_autofit" key="8" modifiers="accel shift"/>
  37.     </keyset>
  38.     
  39.     <!--<broadcasterset id="mainBroadcasterSet">
  40.         <broadcaster id="viewCoolPreviewsSidebar"
  41.             label="CoolPreviews"
  42.             autoCheck="false"
  43.             type="checkbox"
  44.             group="sidebar"
  45.             sidebarurl="chrome://cooliris/content/cpvwSearch/coolpreviewsSidebar.xul"
  46.             sidebartitle="CoolPreviews"
  47.             oncommand="toggleSidebar('viewCoolPreviewsSidebar');"/>
  48.     </broadcasterset>-->
  49.         
  50.     <vbox style="visibility:hidden;">
  51.         <browser type="content" disablehistory="true" flex="1" id="cpvw_backFrame" src="http://www.google.com"/>
  52.     </vbox>
  53.     <window id="main-window">
  54.         <popupset id="mainPopupSet">
  55.             <popup id="cooliris_zoom_popup" position="after_start" onpopupshown="cpvw_previewHandler.onZoomOpen();" onpopuphidden="cpvw_previewHandler.zoomTimer = setTimeout(function(){cpvw_previewHandler.dragActive = false;}, 600);">                
  56.                 <menuitem label="Zoom In" class="menuitem-iconic" key="key_increase" oncommand="cpvw_previewHandler.doZoom('increase');"/>
  57.                 <menuitem label="Zoom Out" class="menuitem-iconic" key="key_decrease" oncommand="cpvw_previewHandler.doZoom('decrease');"/>
  58.                 <separator class="groove"/>
  59.                 <menuitem label="Reset" class="menuitem-iconic" key="key_reset" oncommand="cpvw_previewHandler.doZoom('reset');"/>
  60.                 <menuitem label="AutoFit" id="cooliris_zoom_autoFit" key="key_autofit" class="menuitem-iconic" oncommand="cpvw_previewHandler.doZoom('autofit');" type="checkbox"/>
  61.                 <separator class="groove"/>                
  62.                 <menuitem label="Zoom Text Only" key="" id="cooliris_zoom_Text" type="checkbox" class="menuitem-iconic" oncommand="cpvw_previewHandler.doZoom('textZoom');"/>
  63.             </popup>
  64.             <popup id="cooliris_rightclick" position="after_start" onpopupshown="cpvw_highlightManager.setContextMenuItems()" onmouseover="cpvw_highlightManager.initShowMenu();" onmouseout="cpvw_highlightManager.initHideMenu();" onpopuphidden=""/>
  65.             <popup id="cooliris_subSearchMenu" position="after_start"/>
  66.         </popupset>
  67.         
  68.         <vbox class="cooliris-binding" skin="default" id="cooliris-preview-overlay" hidden="true" onmouseover="cpvw_previewHandler.mouseOver(event);" onmouseout="cpvw_previewHandler.mouseOut(event);"/>
  69.                 
  70.         <vbox id="cooliris_animFrame" style="position:fixed;display:none;left:250px;top:250px;width:1000px;height:100px;z-index:0">
  71.             <stack id="cooliris_animFrame_stack">
  72.                 
  73.             </stack>
  74.         </vbox>
  75.         
  76.         <vbox id="cooliris_hidFrames" style="position:fixed;left:10000px;top:20000px;width:0px;height:0px;z-index:0">
  77.         </vbox>
  78.         
  79.         <vbox id="cooliris_stackIcon" hidden="true"  onmouseover="cpvw_stackManager.onStackMouseover();" onmouseout="cpvw_stackManager.onStackMouseout();">
  80.         </vbox>
  81.         <vbox id="cooliris_canvasHolder" hidden="true" context="cooliris_stackContextMenu" onmouseover="cpvw_stackManager.onStackMouseover();" onmouseout="cpvw_stackManager.onStackMouseout();">
  82.         </vbox>
  83.         <popup id="cooliris_stackContextMenu">
  84.             <menuitem id="cooliris_stactContextMenuItem_remove"
  85.                 label="Remove"
  86.                 oncommand="cpvw_stackManager.removeFromStack();"/>
  87.             
  88.         </popup>
  89.     </window>
  90.     
  91.     
  92.     <popup id="contentAreaContextMenu">
  93.         <menuitem id="coolirisSend" image="chrome://cooliris/skin/new/cooliris-icon.gif" value="0" label="CoolPreviews - Send link" oncommand="CoolirisFramePanel.sendDirectly(event);" insertafter="context-sep-preview"/>
  94.         <menuitem id="coolirisAddStack" image="chrome://cooliris/skin/new/cooliris-icon.gif" value="0" label="CoolPreviews - Add To Stack" oncommand="cpvw_previewHandler.addToStack('link');" insertafter="context-sep-preview"/>
  95.         
  96.         <menu id="coolirisSearch" image="chrome://cooliris/skin/new/cooliris-icon.gif" label="CoolPreviews Search">
  97.             <menupopup id="coolirisSearchPopup" onpopupshowing="cpvw_Prefs.setCMenuItems();">
  98.             </menupopup>
  99.         </menu>
  100.         
  101.     </popup>
  102.     
  103.     
  104.     <statusbar id="status-bar">
  105.         
  106.         <!--<tooltip id="coolPreviews_status_tooltip" orient="vertical" style="background-color: #33DD00;">
  107.             <label value="Click to turn CoolPreviews on/off"/>
  108.             <label value="Right-click to change user preferences"/>
  109.             </tooltip>
  110.  
  111.             <statusbarpanel id="preview-status"  context="cooliris_status_menu"  onclick="if (event.button == 0){ cpvw_Prefs.togglePreviewSite(event); }">
  112.             <image tooltip="coolPreviews_status_tooltip" id="preview-status-image"  src="chrome://cooliris/skin/new/previews-on.png"/>
  113.             </statusbarpanel>
  114.  
  115.             <popupset>
  116.             <popup id="cooliris_status_menu" position="before_end">
  117.             <menuitem tooltiptext="User Preferences" label="User Preferences"  oncommand="cpvw_Prefs.showPrefDialog(event);"/>
  118.             </popup>
  119.             </popupset>
  120.             -->
  121.         
  122.         <statusbarpanel id="preview-status" context="cooliris_status_menu" status="previewsOnSite" onclick="cpvw_Prefs.showStatusMenu();">
  123.             <image tooltip="coolPreviews_status_tooltip" id="preview-status-image" src="chrome://cooliris/skin/new/previews-on.png"/>
  124.         </statusbarpanel>
  125.         
  126.         <popupset>
  127.             <popup id="cooliris_status_menu" position="before_end">
  128.             </popup>
  129.         </popupset>
  130.         
  131.     </statusbar>
  132.     
  133. </overlay>
  134.